package com.bwie.es.service;

import com.bwie.sku.domain.vo.SearchResult;
import com.bwie.sku.domain.dto.SearchParam;
import com.bwie.spu.domain.SkuEsModel;


import java.io.IOException;
import java.util.List;

public interface EsService {
    /**
     * 上传
     * @param esModelList
     */
    boolean up(List<SkuEsModel> esModelList) throws IOException;

    /**
     * 搜索EsSku列表
     * @param searchParam
     * @return
     */
    SearchResult getTableSkuInfo(SearchParam searchParam) throws IOException;
}
